@extends('admin')

@section('content')

    <p class="mb10">
        <a href="{{url('admin/sys/update/')}}" class="btn J_dialog" title="发布"><span class="add"></span>发布</a>
    </p>

    <div class="table_list">
        <div id="data_list">
            <table class="items">
                <thead>
                <tr>
                    <th>ID</th>
                    <th>标题</th>
                    <th>key</th>
                    <th>值</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                @foreach ($list as $item)
                    <tr>
                        <td>{{$item->id}}</td>
                        <td>{{$item->name}}</td>
                        <td>{{$item->key}}</td>
                        <td>{{$item->val}}</td>
                        <td>
                            <a href="{{url('admin/sys/update/'.$item->id)}}" title="编辑 {{$item->name}}" class="mr10 J_dialog">[编辑]</a>
                        </td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>
    </div>

@stop